package com.john.design.创建性模型.建造者模式.v2;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2020/8/10 23:51
 */
public class Test {
    public static void main(String[] args) {
        Course course = new Course.CourseBuilder().buildName("Java").buildPpt("ppt").build();
        System.out.println(course);
    }
}
